﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace LocalizationTest
{
  public abstract class Measurement
  {
    public Sensor sensor; // reference to the instance of the sensor that tool that measurement
    public void Draw(WorldState worldState, double shade, string drawingID)
    {
      sensor.Draw(this, worldState, shade, drawingID);
    }

    public abstract double GetValueAsDouble();

    public abstract double GetDifference(Measurement other);

    public abstract override string ToString();

    public abstract Measurement Parse(string str, Experiment experiment);
  }
}
